﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeTop.笔试.三七互娱
{







    class Program {




        static void Main37(string[] args)
        {
            int[] nums = new int[10];

            ref int value = ref MyElement(ref nums, 2);

            value = 5;
            Console.WriteLine(value);


        }

        private static ref int MyElement(ref int[] nums, int v)
        {
            
            return ref nums[v];
        }
    }


  



}
